from med.business import (
    get_contact,
    get_files,
    get_history,
    get_insurance,
    get_photo,
    get_scholar,
    get_vaccination,
)


def get_record_view(record_id):
    if record_id:
        return {
            "contact": get_contact(),
            "files": get_files(),
            "history": get_history(),
            "insurance": get_insurance(),
            "photo": get_photo(),
            "scholar": get_scholar(),
            "vaccination": get_vaccination(),
        }
    else:
        return {}
